package com.ruoyi.project.beautyflower.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.nio.channels.InterruptedByTimeoutException;

/**
 * 订单 表 bf_order
 * 
 * @author lxs
 * @date 2018-10-15
 */
public class Order extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 订单编号 */
	private String orderNumber;
	/** 下单时间 */
	private String orderTime;
	/** 借款金额 */
	private Double loanAmount;
	/** 借款人 */
	private Integer memberId;
	/** 借款手机号 */
	private String mobile;
	/** 当前状态(0：放款中，1：待还款2：正在还款，3:已还清) */
	private String status;

	private Integer orderType;//订单类型
	private Integer orderPeriods;//订单期数

	private String bankCardNumber;//还款账户
	private String bankName;//还款银行名称
	private String purpose;//借款用途

	private Integer noticeNum;//消息提醒次数
	private String updateDate;//订单审核时间
	private String memberName;//用户姓名

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}

	public String getBankCardNumber() {
		return bankCardNumber;
	}

	public void setBankCardNumber(String bankCardNumber) {
		this.bankCardNumber = bankCardNumber;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getPurpose() {
		return purpose;
	}

	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public Integer getOrderPeriods() {
		return orderPeriods;
	}

	public void setOrderPeriods(Integer orderPeriods) {
		this.orderPeriods = orderPeriods;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setOrderNumber(String orderNumber) 
	{
		this.orderNumber = orderNumber;
	}

	public String getOrderNumber() 
	{
		return orderNumber;
	}
	public void setOrderTime(String orderTime) 
	{
		this.orderTime = orderTime;
	}

	public String getOrderTime() 
	{
		return orderTime;
	}
	public void setLoanAmount(Double loanAmount) 
	{
		this.loanAmount = loanAmount;
	}

	public Double getLoanAmount() 
	{
		return loanAmount;
	}
	public void setMemberId(Integer memberId) 
	{
		this.memberId = memberId;
	}

	public Integer getMemberId() 
	{
		return memberId;
	}
	public void setMobile(String mobile) 
	{
		this.mobile = mobile;
	}

	public String getMobile() 
	{
		return mobile;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}

	public Integer getNoticeNum() {
		return noticeNum;
	}

	public void setNoticeNum(Integer noticeNum) {
		this.noticeNum = noticeNum;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNumber", getOrderNumber())
            .append("orderTime", getOrderTime())
            .append("loanAmount", getLoanAmount())
            .append("memberId", getMemberId())
            .append("mobile", getMobile())
            .append("status", getStatus())
            .toString();
    }
}
